package truef.seller.domain;

import java.util.ArrayList;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import edu.zut.cs.software.base.domain.BaseEntity;
@Table(name="T_CustomService")
@Entity
public class CustomService extends BaseEntity {

	/**
	 * 
	 */
	
	private static final long serialVersionUID = 2876959406163939262L;
	//编号
	String Code;
    
	@ManyToOne
	@JoinColumn(name = "Seller_ID")
	Seller seller;
	
	ArrayList<String> words = new ArrayList<String>();
	public String getCode() {
		return Code;
	}
	public void setCode(String code) {
		Code = code;
	}
	public Seller getSeller() {
		return seller;
	}
	public void setSeller(Seller seller) {
		this.seller = seller;
	}
	public String say(String words) {
		this.words.add(words);
		return words;
	}
}
